/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.LSPrinc.Perfect;

/**
 *
 * @author Avis
 */
public class Triangle extends Shape
{

    @Override
    void draw()
    {
        int height =0,breadth = 0;
        int rectangle = 0;
        System.out.println("Enter Hieght: ");
        System.out.println("Enter breadth: ");
        
        rectangle = height * breadth;
        System.out.printf("Your rectangle is"+ rectangle);   
    }
}
